\hypertarget{classsock_1_1http_1_1_http_request}{}\section{sock\+:\+:http\+:\+:Http\+Request Class Reference}
\label{classsock_1_1http_1_1_http_request}\index{sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}}


H\+T\+T\+P请求  




{\ttfamily \#include $<$http\+\_\+request.\+h$>$}

Inheritance diagram for sock\+:\+:http\+:\+:Http\+Request\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classsock_1_1http_1_1_http_request}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classsock_1_1http_1_1_http_request_a44fbaace6c1f6f29d50704c70d95e16a}{Http\+Request} (void)
\item 
\hyperlink{classsock_1_1http_1_1_http_request_ada53165c7550486e14537c7b0bb0cc8e}{$\sim$\+Http\+Request} (void)
\item 
\hyperlink{namespacesock_1_1http_aa260534fb759e974d6fcc1477015b9c0}{Request\+Method} \hyperlink{classsock_1_1http_1_1_http_request_a22b6c7d1d96e44bfdbbfd6296b561914}{get\+Method} (void)
\begin{DoxyCompactList}\small\item\em 获取请求方式 \end{DoxyCompactList}\item 
std\+::string \& \hyperlink{classsock_1_1http_1_1_http_request_a408f9ce422201e687657af4bbb05fbd7}{get\+Path} (void)
\begin{DoxyCompactList}\small\item\em 获取请求路径 \end{DoxyCompactList}\item 
\hyperlink{namespacesock_1_1http_ac5e7c0dc7506cb150c803b1e52020020}{Connection\+State} \hyperlink{classsock_1_1http_1_1_http_request_ae75effad3e56ac02ffc47d3253aa54c9}{get\+Connection\+State} (void)
\begin{DoxyCompactList}\small\item\em 获取连接状态 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classsock_1_1http_1_1_http_request_a3e611175a551b64dda26f513067e0d04}{Http\+Session}
\item 
class \hyperlink{classsock_1_1http_1_1_http_request_abbd983dbf47d1ea7f49150a1ec170302}{Http\+Request\+Parser}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
H\+T\+T\+P请求 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classsock_1_1http_1_1_http_request_a44fbaace6c1f6f29d50704c70d95e16a}{}\index{sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}!Http\+Request@{Http\+Request}}
\index{Http\+Request@{Http\+Request}!sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}}
\subsubsection[{Http\+Request(void)}]{\setlength{\rightskip}{0pt plus 5cm}Http\+Request\+::\+Http\+Request (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{classsock_1_1http_1_1_http_request_a44fbaace6c1f6f29d50704c70d95e16a}
\hypertarget{classsock_1_1http_1_1_http_request_ada53165c7550486e14537c7b0bb0cc8e}{}\index{sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}!````~Http\+Request@{$\sim$\+Http\+Request}}
\index{````~Http\+Request@{$\sim$\+Http\+Request}!sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}}
\subsubsection[{$\sim$\+Http\+Request(void)}]{\setlength{\rightskip}{0pt plus 5cm}Http\+Request\+::$\sim$\+Http\+Request (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{classsock_1_1http_1_1_http_request_ada53165c7550486e14537c7b0bb0cc8e}


\subsection{Member Function Documentation}
\hypertarget{classsock_1_1http_1_1_http_request_ae75effad3e56ac02ffc47d3253aa54c9}{}\index{sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}!get\+Connection\+State@{get\+Connection\+State}}
\index{get\+Connection\+State@{get\+Connection\+State}!sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}}
\subsubsection[{get\+Connection\+State(void)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Connection\+State} sock\+::http\+::\+Http\+Request\+::get\+Connection\+State (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classsock_1_1http_1_1_http_request_ae75effad3e56ac02ffc47d3253aa54c9}


获取连接状态 

\begin{DoxyReturn}{Returns}
Connection\+State 
\end{DoxyReturn}
\hypertarget{classsock_1_1http_1_1_http_request_a22b6c7d1d96e44bfdbbfd6296b561914}{}\index{sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}!get\+Method@{get\+Method}}
\index{get\+Method@{get\+Method}!sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}}
\subsubsection[{get\+Method(void)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Request\+Method} sock\+::http\+::\+Http\+Request\+::get\+Method (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classsock_1_1http_1_1_http_request_a22b6c7d1d96e44bfdbbfd6296b561914}


获取请求方式 

\begin{DoxyReturn}{Returns}
Request\+Method 
\end{DoxyReturn}
\hypertarget{classsock_1_1http_1_1_http_request_a408f9ce422201e687657af4bbb05fbd7}{}\index{sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}!get\+Path@{get\+Path}}
\index{get\+Path@{get\+Path}!sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}}
\subsubsection[{get\+Path(void)}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string\& sock\+::http\+::\+Http\+Request\+::get\+Path (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classsock_1_1http_1_1_http_request_a408f9ce422201e687657af4bbb05fbd7}


获取请求路径 

\begin{DoxyReturn}{Returns}
std\+::string\& 
\end{DoxyReturn}


\subsection{Friends And Related Function Documentation}
\hypertarget{classsock_1_1http_1_1_http_request_abbd983dbf47d1ea7f49150a1ec170302}{}\index{sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}!Http\+Request\+Parser@{Http\+Request\+Parser}}
\index{Http\+Request\+Parser@{Http\+Request\+Parser}!sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}}
\subsubsection[{Http\+Request\+Parser}]{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf Http\+Request\+Parser}\hspace{0.3cm}{\ttfamily [friend]}}\label{classsock_1_1http_1_1_http_request_abbd983dbf47d1ea7f49150a1ec170302}
\hypertarget{classsock_1_1http_1_1_http_request_a3e611175a551b64dda26f513067e0d04}{}\index{sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}!Http\+Session@{Http\+Session}}
\index{Http\+Session@{Http\+Session}!sock\+::http\+::\+Http\+Request@{sock\+::http\+::\+Http\+Request}}
\subsubsection[{Http\+Session}]{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf Http\+Session}\hspace{0.3cm}{\ttfamily [friend]}}\label{classsock_1_1http_1_1_http_request_a3e611175a551b64dda26f513067e0d04}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
E\+:/git/sock/sock/http/\hyperlink{http__request_8h}{http\+\_\+request.\+h}\item 
E\+:/git/sock/src/http/\hyperlink{http__request_8cc}{http\+\_\+request.\+cc}\end{DoxyCompactItemize}
